main(n,i,s,c)
{
	for(gets(&n);~scanf("%d",&n);) {
		for(i=0,s=0;i<n;i++,s+=c)
			scanf("%d",&c);
		printf("%.1f\n",s/1./n);
	}
}
